package com.itcast.service;

import com.itcast.pojo.Book;
import com.itcast.pojo.BorrowedQuantity;
import com.itcast.pojo.PageBean;

import java.util.List;

public interface BookService {
    PageBean findBooks(Integer page, Integer pageSize);

    void add(Book book);

    Book findById(Integer id);

    void set(Book book);

    Integer delete(Integer id, String token);

    List<BorrowedQuantity> group();
}
